ACLOCAL_AMFLAGS = -I m4

lib_LTLIBRARIES = libvirtnet.la

#virtnet lib
libvirtnet_ladir = $(includedir)/
libvirtnet_la_CFLAGS = $(BASE_CFLAGS) $(IBVERBS_CFLAGS)\
		       -I$(top_builddir)/libmlxdevm/lib\
		       -I$(top_builddir)/controller/jsonrpc

libvirtnet_la_LDFLAGS = -ludev -lsnap -libverbs -lsnap-virtio-net-ctrl

libvirtnet_la_HEADERS = mlx5_ifc.h \
			virtnet.h \
			virtnet_sf.h \
			virtnet_util.h \
			virtnet_devx.h \
			virtnet_vq.h \
			virtnet_lm.h \
			virtnet_recovery.h

libvirtnet_la_SOURCES = virtnet.c \
			virtnet_sf.c \
			virtnet_util.c \
			virtnet_devx.c \
			virtnet_vq.c \
			virtnet_vq_ctrl_cmds.c \
			virtnet_lm.c \
			virtnet_recovery.c
